<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="javascript:;" class="sel">{$menutitle}<i></i></a>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20 mab20">
		<tr>
			<td align="right">头像设置：</td>
			<td id="upload">
				<div class="upload_box" style="width:60px; height:60px;">
					<img src="{pe_thumb($info['admin_logo'])}" class="upload_img" />
					<input type="hidden" name="info[admin_logo]" value="{$info['admin_logo']}" class="upload_val">
				</div>
			</td>
		</tr>
		<tr>
			<td align="right" width="200">登录帐号：</td>
			<td><input type="text" name="info[admin_name]" value="{$info['admin_name']}" class="inputall input200" /></td>
		</tr>
		<tr>
			<td align="right">登录密码：</td>
			<td><input type="text" name="admin_pw" class="inputall input200" onfocus="this.type='password'" /> <span class="c888">如无需修改请留空</span></td>
		</tr>
		<tr>
			<td align="right" width="200">真实姓名：</td>
			<td><input type="text" name="info[admin_tname]" value="{$info['admin_tname']}" class="inputall input200" /></td>
		</tr>
		<tr>
			<td align="right" width="200">手机号码：</td>
			<td><input type="text" name="info[admin_phone]" value="{$info['admin_phone']}" class="inputall input200" /></td>
		</tr>
		<tr>
			<td align="right">管理权限：</td>
			<td>
				<!--{if($admin_id==1):}-->
				{$adminlevel_list[$info['adminlevel_id']]['adminlevel_name']}
				<!--{else:}-->
				<select name="info[adminlevel_id]" class="inputselect">
				<!--{foreach($adminlevel_list as $v):}-->
				<option value="{$v['adminlevel_id']}" <!--{if($info['adminlevel_id']==$v['adminlevel_id']):}-->selected="selected"<!--{endif;}-->>{$v['adminlevel_name']}</option>
				<!--{endforeach;}-->
				</select>
				<!--{endif;}-->
			</td>
		</tr>
		<tr>
			<td align="right">上次登录：</td>
			<td>{pe_date($info['admin_ltime'])}</td>
		</tr>
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pesubmit" />
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="button" value="提 交" class="tjbtn" />
	</div>
	</form>
</div>
<link rel="stylesheet" href="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/style.css">
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/plupload.min.js"></script>
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/upload.js"></script>
<script type="text/javascript">
$(function(){
	$("#upload").pe_upload();
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('back', 1000);
		})
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->